#ifndef CCORE_H
#define CCORE_H

#include <QObject>
#include <QMap>
#include <QStringList>
#include <QVariant>
#include <qmath.h>
#include <QDebug>
#include <QTime>
#include "ccarta.h"
#include "cmesa.h"
#include "cjogador.h"

class CCore : public QObject
{
    Q_OBJECT
    Q_PROPERTY(CMesa* mesa READ getMesa NOTIFY mesaChanged)

public:
    explicit CCore(QObject *parent = 0);

    void NovoJogo();
    void NovaRodada();
    void FimRodada();

    CMesa* getMesa();

private:    
    CMesa *_mesa;

signals:
    void mesaChanged();
    void jogadoresChanged();
    void fimRodada();

private slots:

public slots:

};

#endif // CCORE_H
